import { createRouter, createWebHistory } from 'vue-router'

const router = createRouter({
  history: createWebHistory(import.meta.env.BASE_URL),
  routes: [
    {
      path:"/chat",
      name:"chat",
      alias: "/",
      component:() => import("@/views/chat/index.vue"),
    },
    {
      path:"/friend",
      name:"friend",
      component:() => import("@/views/friend/index.vue"),
    },
    {
      path:"/collection",
      name:"collection",
      component:() => import("@/views/collection/index.vue"),
    }
  ],
})

export default router
